<template>
  <div>
    <h1>router组件展示</h1>
    <div>
      <router-link to="/myhome">首页</router-link>
      <router-link to="/myabout">关于</router-link>
      <router-link to="/mymovie">电影</router-link>
    </div>
    <div>
      <RouterView />
    </div>
  </div>
</template>

<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<style scoped>
.activeTab {
  color: red;
  font-size: x-large;
}
</style>
